package ch00.a8;


/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/12 23:28
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/12 23:28
 */
public class Cat extends Animal {
    public Cat(String name) {
        super(name);
    }

    public Cat() {
    }

    @Override
    public String shout() {
        String result = "";
        for (int i = 0; i < shoutNum; i++) {

            result += "喵，";
        }
        return "我的名字叫:" + name + " " + result;
    }
}
